﻿using MiniFox.Utility;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Web.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class StaticResourceSettingCollection : KeyedCollection<string, StaticResourceSetting>
    {
        internal const string ELEMENT_NAME = "staticResources";
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        protected override string GetKeyForItem(StaticResourceSetting item)
        {
            return item.Name;
        }
    }
}
